package com.jlpay.open.jlpay.sdk.java.model.openmerch.change.request;

import com.fasterxml.jackson.databind.PropertyNamingStrategies;
import com.fasterxml.jackson.databind.annotation.JsonNaming;
import com.jlpay.open.jlpay.sdk.java.common.crypto.annotation.DataCrypto;
import com.jlpay.open.jlpay.sdk.java.model.OrgBaseReq;
import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

import java.util.List;

/**
 * 商户定点清算修改
 *
 * @author zhangyongfeng
 * @date 2025/8/1
 */
@Getter
@Setter
@NoArgsConstructor
@AllArgsConstructor
@DataCrypto(encrypt = true)
@JsonNaming(PropertyNamingStrategies.SnakeCaseStrategy.class)
public class FixedWithdrawModifyRequest extends OrgBaseReq {
    /**
     * 申请单id
     */
    private String applyId;

    /**
     * 商户号
     */
    private String merchNo;

    /**
     * 设置方式，0-取消1-设置
     */
    private String operateType;

    /**
     * 定点清算时间列表
     */
    private List<String> withdrawTimeList;

    @Override
    public String path() {
        return "/open/merch/access/fixed-withdraw/modify";
    }
}
